package com.yang.crawler.strategy.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;

@Data
public class ArticleColumnCrawlDTO implements Serializable {
    private String title;

    private String url;

    private String website;

    private String protocol;

    private Map<String, String> articleTitleLinkMap = new LinkedHashMap<>();

    public void putTitleAndLink(String title, String link) {
        this.articleTitleLinkMap.put(title, link);
    }

}